package bookticket.crm.ticket.entity;

import javax.persistence.Id;
import javax.persistence.Table;

import org.springframework.context.annotation.Scope;

@Scope("prototype")
@Table(name="wxq_ticket_t")
public class TicketEntity {

	@Id
	private Integer id;
	
	private String ticketName;
	
	private Integer price;
	
	/**
	 * 剩余数量
	 */
	private Integer remainderNum; 
	
	/**
	 * 有效日期
	 */
	private String effectiveDate;
	
	private String qrCode;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	

	public String getTicketName() {
		return ticketName;
	}

	public void setTicketName(String ticketName) {
		this.ticketName = ticketName;
	}

	public Integer getPrice() {
		return price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

	public String getEffectiveDate() {
		return effectiveDate;
	}

	public void setEffectiveDate(String effectiveDate) {
		this.effectiveDate = effectiveDate;
	}

	public String getQrCode() {
		return qrCode;
	}

	public void setQrCode(String qrCode) {
		this.qrCode = qrCode;
	}

	public Integer getRemainderNum() {
		return remainderNum;
	}

	public void setRemainderNum(Integer remainderNum) {
		this.remainderNum = remainderNum;
	}
	
	
}
